<%--
  Created by IntelliJ IDEA.
  User: xubobo
  Date: 2017/11/2
  Time: 18:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false"%>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>书籍列表页</title>
</head>
<body>

<form action="#" name="bookDetail">
    <table>
        <tr>
            <td>图书ID：</td>
            <td>图书名：</td>
            <td>图书单价：</td>
            <td>图书库存：</td>
            <td colspan="3">操作</td>
        </tr>
        <c:forEach items="${books}" var="book">
            <tr>
                <td>${book.id}</td>
                <td>${book.name}</td>
                <td>￥${book.price}</td>
                <td>${book.stock}</td>
                <td>查看</td>
                <td>修改</td>
                <td>删除</td>
            </tr>
        </c:forEach>



    </table>
</form>
</body>
</html>
